<!-- 必须全局拥有唯一的id -->
<div id="WfiWorkflowOrgGroup">
	<el-form-q form="query" :field-data="queryFileds" search-table="WfiWorkflowOrgList"></el-form-q>
	<div class="yu-toolBar">
		<el-button-group>
			<el-button icon="add" @click="openCreateFn">{{ $t('uTrace.xz') }}</el-button>
			<el-button icon="edit" @click="openEditFn">{{ $t('uTrace.xg') }}</el-button>
			<el-button icon="delete" @click="deleteFn">{{ $t('uTrace.sc') }}</el-button>
			<el-button icon="edit" @click="openDetailFn">{{ $t('uTrace.zk') }}</el-button>
		</el-button-group>
	</div>
	<el-table-x-u ref="WfiWorkflowOrgList" :max-height="height" :table-filters="tableFilters" :u-key-pref="uKeyPref" :u-key-field="uKeyField"
	 :data-url="urls.dataUrl" :trace-server-name="TraceServerName" :base-params="dataParams" :table-columns="tableColumns" :checkbox="true">
	</el-table-x-u>

	<el-dialog-x :center="true" :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible" height="370px" width="700px"
	 @close="beforeClose">
		<el-form-x-u ref="WfiWorkflowOrgForm" :trace-server-name="TraceServerName" :group-fields="updateFields" :disabled="formDisabled"
		 label-width="110px" :u-pk-value="uPkValue" @aftersaveu="aftersaveu"></el-form-x-u>
		<div slot="footer" align="center">
			<el-button v-if="dialogStatus=='creat'" type="primary" @click="saveCreateFn()">{{ $t('uTrace.qd') }}</el-button>
      <el-button v-if="dialogStatus=='update'" type="primary" @click="saveEditFn()">{{ $t('uTrace.qd') }}</el-button>
      <el-button @click="dialogFormVisible = false">{{ $t('uTrace.gb') }}</el-button>
		</div>
	</el-dialog-x>

	<!--{{ $t('uTrace.xg') }}痕迹历史列表-->
	<el-dialog-x :center="true" :title="mTrace" :visible.sync="dialogVisibleMTrace" height="360px" width="700px">
		<el-table-x ref="mTraceList" :data-url="urls.mTraceListUrl" :base-params="mTraceParams" :default-load="false" :table-columns="mTraceTableColumns">
		</el-table-x>
		<div slot="footer" align="center">
			<el-button type="primary" @click="dialogVisibleMTrace=false">{{ $t('uTrace.gb') }}</el-button>
		</div>
	</el-dialog-x>

</div>